<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
    <form action="/create_user/" method="post">
        <p>创建用户：{{ obj.username }}</p>
        <p>创建用户组{{ obj.user_group_id }}</p>
        <input type="submit"  value="submit"/>
    </form>
    <form action="/delete_user/" method="post">
        <p>删除用户：{{ obj.username }}</p>
        <p>删除用户组{{ obj.user_group_id }}</p>
        <input type="submit"  value="submit"/>
    </form>

    <form action="/upload_user/" method="post">
        <p>输入你需要修改的用户：{{ obj.username }}</p>
        <p>输入你需要修改的修改用户组{{ obj.user_group_id }}</p>

        <input type="submit"  value="submit"/>
    </form>


    <table>
        {% for item in user_list %}
        <tr>
            <td>{{ item.username }}</td>
            <td>{{ item.user_group.caption }}</td>
        </tr>
        {% endfor %}
    </table>
</body>
</html>